package o;

import android.annotation.TargetApi;
import android.media.MediaMetadataRetriever;
import java.io.File;

public class fni {
    @TargetApi(10)
    public static long ॱ(String str) {
        long j = 0;
        if (new File(str).exists()) {
            try {
                MediaMetadataRetriever mediaMetadataRetriever = new MediaMetadataRetriever();
                mediaMetadataRetriever.setDataSource(str);
                j = Long.parseLong(mediaMetadataRetriever.extractMetadata(9));
            } catch (Exception e) {
            }
        }
        return j;
    }
}
